Skip to content

fix(nix): expose ripgrep and fd to wrapped kimi - #428

Merged
sailist merged 2 commits into
MoonshotAI:mainfrom
sailist:fix/flake
Jun 4, 2026
Merged

fix(nix): expose ripgrep and fd to wrapped kimi#428
sailist merged 2 commits into
MoonshotAI:mainfrom
sailist:fix/flake

Conversation

@sailist

@sailist sailist commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fix the Nix-packaged CLI wrapper so ripgrep and fd are available on PATH, and include both tools in the Nix dev shell for local development.


1. Expose search tools in Nix builds

Problem: Nix-built kimi binaries could not find rg/fd at runtime, and the Nix dev shell did not provide these CLI search dependencies either.

What was done:

  • Added makeWrapper to the Nix build inputs.
  • Wrapped $out/bin/kimi with ripgrep and fd on PATH.
  • Added ripgrep and fd to the dev shell packages.
  • Added a patch changeset for the CLI package.

Related Issue

No related issue; the problem is described above.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

sailist added 2 commits June 4, 2026 17:09
- make wrapper available to the Nix build
- wrap kimi binary with ripgrep and fd on PATH
- include rg and fd in the dev shell packages
@changeset-bot

changeset-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4098c85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 4, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@4098c85
npx https://pkg.pr.new/@moonshot-ai/kimi-code@4098c85

commit: 4098c85

@sailist
sailist merged commit 853c5fc into MoonshotAI:main Jun 4, 2026
9 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant